#{extends 'magicBox.html' /}
#{set 'title'}${component.getFullName()} #{if connected.in(project).can('deleteComponent')}<a onclick="javascript:deleteTheComponent(${component.id},this);"><img title="Delete" src="@{'/public/images/famfam/delete.png'}"></a>#{/if}#{if connected.in(project).can('editComponent')}<a href="javascript:overlayOpen('/admin/components/${component.id}')"><img title="Edit" src="@{'/public/images/famfam/pencil.png'}"></a>#{/if} #{drop 'component-' + component.id /}#{drag 'component-' + component.id /}#{/set}
#{if component.description}#{note}${component.description}#{/note}#{/if}
<div name="@{Users.find_users(1,component.id,0,0)}" class="reload-component-${component.id}-users">Users</div>
<div name="/tasks/view_task?project_id=0&component_id=${component.id}&mine=0&meeting_id=0&task_id=0">Tasks
	#{if connected.in(project).can('addTask')}<a href="javascript:overlayOpen('/admin/tasks/new?componentId=${component.id}')"><img title="Add" src="@{'/public/images/famfam/add.png'}"></a>#{/if}
</div>
<div name="/sprints/listSprintsInComponent?componentId=${component.id}&type=2">Charts</div>
<div name="/sprints/listSprintsInComponent?componentId=${component.id}&type=3">Sprint Backlog</div>
<div name="/sprints/listSprintsInComponent?componentId=${component.id}&type=1">Boards</div>
